package com.cocolover2.andbase.views.refreshview;

/**
 * Created by liubo on 6/3/16.
 */
public interface OnSwipeTriggerListener {


    /**
     *
     * @param scrollY
     * @param isRefreshing 是否正在刷新
     * @param automatic  滚动不是通过手指来控制时,为true
     */
    void onMove(int scrollY, float mRefreshTriggerOffset, boolean isRefreshing, boolean automatic);

    void onRelease();

    void onRefresh();

    void onComplete(String statusMsg);

    void onReset();
}
